package com.tencreat.domain.mall.vo;

import com.tencreat.common.enums.OrderStatus;
import com.tencreat.common.enums.OrderType;
import com.tencreat.common.enums.PayType;
import com.tencreat.common.enums.UserOrderStatus;
import com.tencreat.domain.mall.MallOrderGoods;
import com.tencreat.domain.mall.MallStoreOrderGoods;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Getter
@Setter
public class MallStoreOrderVO {
    //用户名
    private String username;

    //用户头像
    private String avatar;

    //订单号
    private String orderSn;

    //订单总价
    private BigDecimal orderPrice;

    private BigDecimal integralPrice;
    //实付金额
    private BigDecimal actualPrice;

    //下单时间
    private LocalDateTime createTime;

    //商品数
    private Integer number;

    //订单类型
    private OrderType orderType;

    //订单状态
    private OrderStatus orderStatus;

    //支付类型
    private PayType payType;

    //用户状态
    private UserOrderStatus statusUser;

    //运费
    private BigDecimal freightPrice;


    //支付单号
    private String payId;


    //收货人
    private String consignee;

    //手机号
    private String mobile;

    private String address;
    //快递单号
    private String shipSn;

    //商品列表
    private List<MallStoreOrderGoods> goods;

}
